package com.wj.szcrm.mapper;

import com.wj.szcrm.model.CourseOrder;
import com.wj.szcrm.model.MonthIncome;

import java.util.List;
import java.util.Map;

/**
 * @author: WangJin
 * @description
 * @date: 2021/9/15 15:53
 */
public interface CourseOrderMapper {
    public int findCountByMap(Map<String,Object> map);
    public List<CourseOrder> findListByMap(Map<String,Object> map);

    public void insert(CourseOrder order);

    public CourseOrder findByOrderId(String order_id);

    public void deleteById(String order_id);

    public void update(CourseOrder order);

    public List<MonthIncome> getMonthIncomes();
}
